package org.csu.molediary.api.service;

import org.csu.molediary.api.common.CommonResponse;
import org.csu.molediary.api.entity.Tag;
import org.csu.molediary.api.vo.DiaryVO;

import java.util.List;

public interface TagService {

    CommonResponse<List<Tag>> getAllTags();

    CommonResponse<List<DiaryVO>> getDiaryByTagid(int tagid);

    CommonResponse<Tag> getTagByTagContent(String  tagcontent);
}
